#ifndef _ACTIONHISTORYPANEL_
#define _ACTIONHISTORYPANEL_

#include <deque>
#include "Graphics/Graphics.hpp"
#include "Actions/Actions.hpp"
#include "Utilities/StringHelper.hpp"

/** 
* A historic list of actions performed.
*/
class ActionHistoryPanel:public Panel{
private:
	/** Queue of actions. */
    deque<BaseAction*>* actionHistory;

	/** Panel title. */
    Label title;

	/** Array of labels describing actions. */
    Label** historyText;
public:

    ActionHistoryPanel();
    void updateHistory();
    void updateHistory(deque<BaseAction*>* history);
};

#endif